<?php
/**
 * Created by PhpStorm.
 * User: songdewei
 * Date: 2017/10/15
 * Time: 下午6:00
 */

namespace Model\App;


use Data\Common\BlockModel;
use Data\Company\CompanyModel;

class IndexController extends BaseController
{
    /**
     * APP首页
     */
    public function index(){
        global $_G,$_lang;

        $blockModel = new BlockModel();
        $slideList = $blockModel->getCache(4);

        $companyModel = new CompanyModel();
        $companyList = $companyModel->limit(0, 20)->select();

        include template('index');
    }
}